<?php

class Core_Model_Product_Image extends Zend_Db_Table_Row
{

	public function getImageUrl()
	{
		return UPLOAD_URL . '/' . PRODUCT_IMAGE_FOLDER . '/' . $this->image;
	}

	public function getImageThumbUrl()
	{
		return UPLOAD_URL . '/' . PRODUCT_IMAGE_FOLDER . '/' . THUMBNAIL_IMAGE_FOLDER . '/' . $this->image;
	}

}